package com.eamois.action.manual;

import java.util.Collection;

import com.eamois.action.BaseAction;
import com.eamois.domain.manual.Catalog;
import com.eamois.domain.manual.ModifyInfo;
import com.eamois.service.manual.ModifyInfoService;
import com.eamois.util.ServiceFactory;

public class ModifyInfoAction extends BaseAction{
	private ModifyInfoService modifyInfoService;
	
	public ModifyInfoService getModifyInfoService() {
		return modifyInfoService;
	}

	public void setModifyInfoService(ModifyInfoService modifyInfoService) {
		this.modifyInfoService = modifyInfoService;
	}

	public ModifyInfoAction() {
		setModifyInfoService((ModifyInfoService) ServiceFactory.getInstance().getBean("modifyInfoService"));
	}
	
	public Collection<ModifyInfo> findAll() {
		return this.getModifyInfoService().findAll();
	}
	
	public void save(ModifyInfo modifyInfo) {
		this.getModifyInfoService().save(modifyInfo);
	}
	
	public void removeCatalog(ModifyInfo modifyInfo) {
		this.getModifyInfoService().remove(modifyInfo);
	}
	

}
